import React,{Component} from 'react'
import './index.css'

class Bookrack extends Component{
    constructor(props){
        super(props)
    }
    go(){
        this.props.histroy.go(-1)
    }
    render(){
        return (
            <div className='app-bookrack-box'>
                <header>
                    <NavBar
                        mode="light"
                        icon={<Icon type="left" onClick={this.go.bind(this)} />}
                        rightContent={[
                            <Icon key="0" type="home" style={{ marginRight: '16px' }} />
                        ]}
                    >我和书架</NavBar>
                </header> 
                <main>
                    <div>
                        
                    </div>
                </main>        
            </div>
        )
    }
}
export default Bookrack
